<?php include('_init_.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../css/admin-body.css" rel="stylesheet" type="text/css" />
<link href="../css/admin-people.css" rel="stylesheet" type="text/css" />
<script src="<?php echo constant('APP_JS_LIB_DIR');?>/ckeditor/ckeditor.js"></script>
<title>班尼頓寫真後台管理</title>	
</head>

<body>
<?php include_once('admin-top.php');?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']?>" name="page_form"> 
<input type="hidden" name="id" value="<?php echo $GLOBALS['PAGE_FORM_DATA']['id'];?>"/>
<input type="hidden" name="page_id" value="<?php echo $GLOBALS['PAGE_FORM_DATA']['page_id'];?>"/>
<input type="hidden" name="act" value="save"/>
<div id="main" class="clearfix"><!-- star #main //-->
  <?php include_once('sub-orther.php');?>
  <div id="contactall"><!-- star #main //-->
  <div id="tit" ><!-- star #tit //-->
    <ul>
    <li class="tit-a"><?php echo htmlspecialchars($GLOBALS['GV_PAGE_CONTENT'][$_REQUEST['id']]);?> </li>
    <li class="tit-b"><a href="#save" onclick="return document.forms[0].submit(); return false;">儲存</a></li>
    </ul>
  </div><!-- end #tit //-->
  <div id="contact" class="clearfix" ><!-- star #contact //-->

  <div id="ContactHtm"  style="margin:0px;padding-top:50px;width:100%;"><!-- star #contactHtm //-->
   <textarea class="ckeditor"  id="editor1" name="content"><?php echo $GLOBALS['PAGE_FORM_DATA']['content'];?></textarea>
   </div><!-- end #contactHtm //-->
  
  </div><!-- end #contact //-->
  
  </div><!-- end #contactall //-->
</div><!-- end #main //-->
</form>
 <script>

			// Replace the <textarea id="editor"> with an CKEditor
			// instance, using default configurations.
			CKEDITOR.replace( 'editor1', {
				width:100%
			});

		</script>
</body>
</html>